﻿using LightCAD.Drawing.Action;
using LightCAD.Runtime;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LightCAD.Drawing
{
    public class Loader
    {
        /// <summary>
        /// 调用此方法，确保程序集加载到内存，并初始化相关类
        /// #ToDo 做一种自动注册的机制
        /// </summary>
        public static void Initilize()
        {
            LineAction.Initilize();
            CircleAction.Initilize();
            EllipseAction.Initilize();
            RayAction.Initilize();
            XLineAction.Initilize();
            GroupAction.Initilize();
            BlockRefAction.Initilize();
            PolyLineAction.Initilize();
            ArcAction.Initilize();
            BasePointAction.Initilize();
            DrawingFrameAction.Initilize();

        }
    }
}
